#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMessageBox>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private slots:
    void on_pushButton_Calculate_clicked();

    void on_pushButton_LoadData_clicked();

private:
    Ui::MainWindow *ui;
    auto testMe() -> void {
        //QMessageBox::about(this, "Just a test!", "Test passed");
        int *ptr;
        ptr = nullptr;
        //ptr = new int;

        if ( nullptr == ptr)
            QMessageBox::warning(this, "Special thing happening", "test", QMessageBox::StandardButtons());
    }
};

#endif // MAINWINDOW_H
